package com.example.demofdfs.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@RestController
@RequestMapping("/api-swagger")
@Api
public interface AipSwaggerController {

	@ApiOperation(value = "api-get", httpMethod = "GET")
	@RequestMapping(value = "/api", method = RequestMethod.GET)
	default String api(String text) {
		return text;
	}
}
